public class test2 {
    public static void main(String[] args)
    {


    }
    public static void main5(String[] args)
    {
        int i = 1;
        while(i <= 100){
            if(i % 3 == 0)
                if(i % 5 == 0){
                    System.out.println(i);
                    i++;
                    continue;
                }
            i++;
        }
    }
    public static void main4(String[] args)
    {
        int i = 1;
        int ret = 1;
        int sum = 0;
        while(i <= 5)
        {
            ret *= i;
            sum += ret;
            i++;
        }
        System.out.println(ret);
        System.out.println(sum);

    }
    public static void main3(String[] args)
    {
        int i = 1;
        int sum = 0;
        while(i <= 100)
        {
            sum += i;
            i += 2;
        }
        System.out.println(sum);
    }
    public static void main2(String[] args)
    {
        int sum = 0;
        int i = 1;
        while(i <= 100)
        {
            sum += i++;
        }
        System.out.println(sum);
        //1-100's sum
    }
    public static void main1(String[] args)
    {
        String a = "avx";
        switch(a)
        {
            case "1":
                System.out.println(1);
                break;
            case "avx":
                System.out.println(2);
                break;
        }

    }
}
